package cn.kgcnews.dao;

import java.util.List;

import cn.kgcnews.pojo.NewsComment;

/**
 * 评论接口
 * @author Administrator
 *
 */
public interface CommentDao {
/**
 * 添加新闻
 */
	public int saveComment(NewsComment comment)throws Exception;
	/**
	 * 查询新闻
	 */
	public List<NewsComment> findAllComment(int cnid,int seff,int pagesize)throws Exception;
	/**
	 * 查询总数量
	 */
	public int findsize(int cnid) throws Exception;
}
